package net.huashitong.ssydt.sys.entity.vo;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author hemj
 * @version 2017/8/23
 */
public class SsSysBasInVO implements Serializable {

	private Long id;
	@NotBlank(message = "类型不能为空")
	private String basType;//类型
	@NotBlank(message = "字典值不能为空")
	private String dictValue;//字典值	 当值 00 时为类型
	@NotBlank(message = "字典名不能为空")
	private String dictName;//字典名
	@NotNull(message = "顺序不能为空")
	@Min(value = 0, message = "顺序不能为负数")
	private Integer sequence;//顺序
	@NotNull(message = "是否固定不能为空")
	private Integer isFixed;//是否固定 1 是，0 否

	private String attr1;

	private String attr2;

	private String attr3;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getBasType() {
		return basType;
	}

	public void setBasType(String basType) {
		this.basType = basType;
	}

	public String getDictValue() {
		return dictValue;
	}

	public void setDictValue(String dictValue) {
		this.dictValue = dictValue;
	}

	public String getDictName() {
		return dictName;
	}

	public void setDictName(String dictName) {
		this.dictName = dictName;
	}

	public Integer getSequence() {
		return sequence;
	}

	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}

	public Integer getIsFixed() {
		return isFixed;
	}

	public void setIsFixed(Integer isFixed) {
		this.isFixed = isFixed;
	}

	public String getAttr1() {
		return attr1;
	}

	public void setAttr1(String attr1) {
		this.attr1 = attr1;
	}

	public String getAttr2() {
		return attr2;
	}

	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}

	public String getAttr3() {
		return attr3;
	}

	public void setAttr3(String attr3) {
		this.attr3 = attr3;
	}
}
